package com.bigknow.appstore.web.base.entity;

import com.bigknow.appstore.web.base.entity.enums.State;
import com.bigknow.appstore.web.framework.entity.QueryField;
import com.bigknow.appstore.web.framework.entity.BaseEntity;
import com.bigknow.appstore.web.framework.entity.IEntity;
import org.mongodb.morphia.annotations.Entity;

@Entity("web.base.dict")
public class Dict extends BaseEntity implements IEntity {
    @QueryField
    private String code;
    @QueryField
    private String name;
    @QueryField
    private String group;
    private Integer sort;
    @QueryField
    private String remark;
    @QueryField
    private State state;
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public State getState() {
        return state;
    }

    public void setState(State state) {
        this.state = state;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}

	
